package com.project.service.Impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.mapper.ResponsibilityMapper;
import com.project.pojo.Responsibility;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;
@Service
public class ResponsibilityService implements com.project.service.ResponsibilityService {
    @Autowired
    ResponsibilityMapper responsibilityMapper;
    @Override
    public List<Responsibility> getResByType(int type) {
        return responsibilityMapper.getResByType(type);
    }

}
